package com.sntk.organauthomanager.application.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: ResourceVO
 * @author: wgchao
 * @createTime: 2020/7/21 4:30 PM
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(content = JsonInclude.Include.NON_NULL)
@JsonAutoDetect(getterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY)
public class ResourceVO extends ResourceDTO implements Serializable {
    //父资源名称
    private String parentResourceName;

    //资源类型名称
    private String resourceTypeName;

    private String creatorName;

    private String lastUpdatorName;

    private List<ResourceVO> childs;
}
